package cc.git.liuyan.customeraiagent.core.embeddingmodel;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class EmbeddingModelOutputData {
    private String segmentContent;
    private List<BigDecimal> denseVectors; //稠密 768
    private List<BigDecimal> sparseVectors;//稀疏 默认1024

    public EmbeddingModelOutputData(String segmentContent) {
        this.segmentContent = segmentContent;
    }

    public EmbeddingModelOutputData(String segmentContent, List<BigDecimal> denseVectors, List<BigDecimal> sparseVectors) {
        this.segmentContent = segmentContent;
        this.denseVectors = denseVectors;
        this.sparseVectors = sparseVectors;
    }
}
